
export function getToken(){
  return window.localStorage.getItem("TOKEN") || ""
}

export function setToken(token){
  return window.localStorage.setItem("TOKEN",token)
}

export function removeToken(){
  return window.localStorage.removeItem("TOKEN")
}

export function setMemberInfo(info){
  return window.localStorage.setItem("MEMBER_INFO",JSON.stringify(info))
}

export function getMemberInfo(){
  return JSON.parse(window.localStorage.getItem("MEMBER_INFO")) || ""
}

export function clearStorage(){
  return window.localStorage.clear()
}

